package com.coffee.sku.api.sku.service;


import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.sku.api.sku.query.RegionalSkuSalesInformationQuery;
import com.coffee.sku.api.sku.result.RegionalSkuSalesInformationResult;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface RegionalSkuSalesInformationService {

	Page<RegionalSkuSalesInformationResult> getPager(RegionalSkuSalesInformationQuery param, PagerInfo pr);
	
	Integer count(RegionalSkuSalesInformationQuery param);
	
	RegionalSkuSalesInformationResult getDetail(Integer id);
	
	List<RegionalSkuSalesInformationResult> getList(RegionalSkuSalesInformationQuery param, PagerInfo pr);
	
	List<RegionalSkuSalesInformationResult> getList(RegionalSkuSalesInformationQuery param);
	
	List<RegionalSkuSalesInformationResult> getList();

	void delete(Integer id);

	void addOrUpdate(RegionalSkuSalesInformationResult result)throws BusinessException;
	
	Map<Integer,RegionalSkuSalesInformationResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,RegionalSkuSalesInformationResult> getItemMap();
	
}